export default function (initialState: any) {
  const { userId, role } = initialState;
  return {
    canReadFoo1: role === 'admin' ? true : false,
    canReadFoo2: role === 'admin' ? false : true,
  };
}
